@import 'src/res/theme/xxhz';



.myInvite-promotionOrderRoot {
  .time-filter-item-wrapper {
    position: sticky;
    top: 0;
    left: 0;
  }
}

.starimg {
  padding-top: 4px;
}

.promotionOrderRoot {

  .at-tabs__header{
    overflow: auto;
  }
  .listNull {
    width: 100%;
    height: 75vw;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;
    }

    .text {
      font-size: 24px;
      color: #666
    }
  }

  .sure-btn {
    background-color: #ec7a33;
    color: #fff;
    font-size: 26px;
    text-align: center;
    padding: 24px 0;
  }

  .sure-btn {
    background-color: $mainColor;
  }

  .time-picker-choice-picker {
    flex: 1;

    .at-list__item::after {
      content: initial;
    }

    .at-list::after {
      content: initial;
    }
  }

  .time-picker-choice {
    display: flex;

    .at-list__item-container {
      display: flex;
      align-items: flex-start;
      flex-direction: column;

      .item-content__info-title {
        font-size: 22px;
        color: #a2a2a2;
      }

      .item-extra__info {
        margin-top: 10px;
        color: #000;
      }
    }
  }

  .open-time-over-layout {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 9;
    left: 0;

    .over-layout {
      position: fixed;
      z-index: 1;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background: rgba(0, 0, 0, .3);
    }
  }

  .promotion-order-info-wrapper {
    .promotion-order-top-info {
      letter-spacing: 1px;
      margin-top: 40px;
      margin-bottom: 30px;
      margin-left: 20px;
      font-size: 26px;
      color: #a8a9a9;

      .promotion-order-nums:first-child {
        margin: 0 4px;
      }

      .promotion-order-nums {
        color: #000;
        font-weight: bold;
      }
    }
  }

  .at-search-bar::after {
    content: initial;
  }

  .search-top {
    z-index: 99;
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;

    .tabs {
      position: relative;
      top: -1Px;
      background: #fff;
      padding: 30px 0;
      width: 100%;
      display: flex;
      align-items: center;
    }

    .subNav {
      flex-grow: 1;
    }
  }

  .active {
    .tab-active {
      color: #4faf7e !important;
    }
  }

  .order-tabs {
    border-bottom: 1Px solid #f1f1f1;
    height: initial;

    .at-tabs__header {
      background: none;
    }

    .at-tabs__item-underline {
      position: relative;
      bottom: -14px;
      width: 26Px;
      left: 0;
      height: 6px;
      border-radius: 3px;
      margin: 0 auto;
    }

    .at-tabs__item--active {
      color: #323233;
    }

    .at-tabs__item-underline, .at-tabs__underline {
      background-color: $mainColor;
    }

    .at-tabs__item {
      color: #646566;
      font-size: 26px;
      padding-bottom: 14px;
      overflow: visible;
    }

    .at-tabs__item--active {
      color: #323233;
      font-weight: 500;
    }

    .at-tabs__item-underline, .at-tabs__underline {
      background-color: $mainColor;
    }

    .at-tabs__item {
      color: #aaa;
    }

    .at-tabs__item--active {
      color: $mainColor;
      font-weight: bold;
    }
  }

  .time-filter-item-wrapper {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .custom-time {
      font-size: 22px;
      color: #a2a2a2;
    }

    .time-filter-item {
      display: flex;

      .time-filter-items {
        background-color: #f7f8fa;
        color: #a2a2a2;
        margin-right: 20px;
        font-size: 22px;
        border-radius: 60px;
        padding: 6px 22px;
      }

      .time-active {
        color: #ffa000 !important;
      }

      .time-active {
        color: $mainColor !important;
      }

      .time-filter-items:last-child {
        margin-right: 0;
      }
    }
  }

  .list-container {
    padding: 0 24px;

    .salesman-customer {
      color: #999;
      margin-bottom: 24px;
      border-radius: 8px;
    }

    .van-cell__value {
      position: relative;
      white-space: nowrap;
      display: flex;
      align-items: flex-start;
      overflow: initial;
    }

    .salesman-avatar {
      position: relative;
      display: inline-block;
    }

    .salesman-avatar__img {
      display: block;
      margin: 0 auto;
      width: 72px;
      height: 72px;
      border-radius: 50%;
    }

    .salesman-customer__info-block {
      flex: 1;
      display: flex;
    }

    .salesman-customer__info {
      display: inline-block;
      padding: 0 0 8px 22px;
      box-sizing: border-box;
    }

    .salesman-customer__info-top {
      display: flex;
      align-items: center;
    }

    .salesman-customer__info-name {
      margin-right: 8px;
      font-size: 28px;
      line-height: 40px;
    }

    .salesman-avatar .salesman-avatar__tag {
      position: relative;
      display: block;
      margin: -20px auto 0;
      width: 80px;
      height: 28px;
      line-height: 28px;
      padding: 0;
      text-align: center;
      z-index: 9;
    }

    .van-tag {
      font-size: 24px;
      align-items: center;
    }

    .van-tag--round {
      border-radius: 64px;
    }

    .vip-bar {
      display: inline-block;
      height: 24px;
      font-size: 0;
    }

    .salesman-avatar--disabled:before {
      content: '已失效';
      z-index: 9;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      text-align: center;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      font-size: 20px;
      color: #000;
    }

    .salesman-avatar--disabled:after {
      content: " ";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: hsla(0, 0%, 100%, .5);
      z-index: 10;
    }

    .vip-bar__icon-star {
      margin-left: 8px;
      width: 28px;
    }

    .salesman-customer__info--bill {
      display: flex;
      align-items: center;

      .text {
        color: #999;
        font-size: 24px;
      }

      .text:first-child {
        margin-right: 16px;
      }

      .text-num {
        color: #333;
        font-weight: 700;
      }
    }

    .salesman-customer__info--at {
      color: #999;
      font-size: 24px;
    }

    .salesman-customer__info--channel {
      width: 100%;
      font-size: 24px;
      color: #999;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .salesman-customer .contact {
      display: block;
      width: 112px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      border-radius: 64px;
      color: #fff;
      background: #ff720d;
      font-size: 24px;
      position: absolute;
      right: 0;
      top: 50%;
      -webkit-transform: translateY(-50%);
      transform: translateY(-50%);
    }

    .salesman-customer .contact-disabled {
      background: #dcdee0;
    }

    .van-cell:after {
      position: absolute;
      box-sizing: border-box;
      content: " ";
      pointer-events: none;
      right: 32px;
      bottom: 0;
      left: 32px;
      border-bottom: 2px solid #ebedf0;
      -webkit-transform: scaleY(.5);
      transform: scaleY(.5);
    }

    .van-cell__value {
      position: relative;
      overflow: hidden;
      color: #969799;
      text-align: right;
      vertical-align: middle;
      word-wrap: break-word;
    }

    .van-cell__value--alone {
      color: #323233;
      text-align: left;
    }

    .van-cell__title, .van-cell__value {
      flex: 1;
    }

    .van-cell--center {
      align-items: center;
    }

    .van-cell {
      z-index: 0;
      position: relative;
      display: flex;
      box-sizing: border-box;
      width: 100%;
      padding: 20px 32px;
      overflow: hidden;
      color: #323233;
      font-size: 28px;
      line-height: 48px;
      background-color: #fff;
    }
  }
}

.promotion-order-info-wrapper-my-invite {
  .van-cell__value {
    align-items: center !important;
  }

  .salesman-customer__info {
    padding-bottom: 0 !important;
  }

  .van-cell {
    padding-right: 12px !important;
  }

  .my-invite-items {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .salesman-customer__info-name {
    max-width: 150Px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
